package com.java.mybatis.entity;

import java.io.Serializable;

/**
 * (Order)实体类
 * 注（订单表）
 * @author makejava
 * @since 2021-01-15 17:10:28
 */
public class Order implements Serializable {
    private static final long serialVersionUID = -56140268296087336L;
    
    private Integer orderId; //订单id
    
    private Supplier supplier; //订单来源(关联订单来源表ID)
    
    private String orderAddress;//来源地址(随便写 外省寄来的货物)
    
    private String orderNumber; //订单编号(如#SF654654654 随便写)
    
    private String orderPerson;//运送人(随便写)
    
    private Employees employees;//接货负责人(关联员工表id)
    
    private Integer orderState;//订单状态
    
    private Integer orderCode;//软删除
    
    private String orderMark;//备用字段

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", supplier=" + supplier +
                ", orderAddress='" + orderAddress + '\'' +
                ", orderNumber='" + orderNumber + '\'' +
                ", orderPerson='" + orderPerson + '\'' +
                ", employees=" + employees +
                ", orderState=" + orderState +
                ", orderCode=" + orderCode +
                ", orderMark='" + orderMark + '\'' +
                '}';
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public String getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(String orderAddress) {
        this.orderAddress = orderAddress;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getOrderPerson() {
        return orderPerson;
    }

    public void setOrderPerson(String orderPerson) {
        this.orderPerson = orderPerson;
    }

    public Employees getEmployees() {
        return employees;
    }

    public void setEmployees(Employees employees) {
        this.employees = employees;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Integer getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(Integer orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderMark() {
        return orderMark;
    }

    public void setOrderMark(String orderMark) {
        this.orderMark = orderMark;
    }
}